3.7
LOW CVSS 3.1
CVE-2024-10977
PostgreSQL SSL/TLS Replay Attack Vulnerability
Description

Client use of server error message in PostgreSQL allows a server not trusted under current SSL or GSS settings to furnish arbitrary non-NUL bytes to the libpq application. For example, a man-in-the-middle attacker could send a long error message that a human or screen-scraper user of psql mistakes for valid query results. This is probably not a concern for clients where the user interface unambiguously indicates the boundary between one error message and other text. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.

INFO

Published Date :

Nov. 14, 2024, 1:15 p.m.

Last Modified :

Feb. 20, 2025, 3:38 p.m.

Remotely Exploit :

Yes !

Source :

f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Affected Products

The following products are affected by CVE-2024-10977 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Postgresql postgresql
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 LOW f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CVSS 3.1 LOW [email protected]
Solution
This vulnerability in PostgreSQL can be resolved by updating to a patched version.
  • Update PostgreSQL to version 12.21, 13.17, 14.14, 15.9, 16.5, or 17.1.
  • Update the affected PostgreSQL packages on your system.
Public PoC/Exploit Available at Github

CVE-2024-10977 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-10977.

URL Resource
https://www.postgresql.org/support/security/CVE-2024-10977/ Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-10977 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-10977 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

A pure Swift client for PostgreSQL

Swift

Updated: 1 day, 3 hours ago
19 stars 1 fork 1 watcher
Born at : July 22, 2025, 2:22 a.m. This repo has been linked 2 different CVEs too.

None

Updated: 3 months ago
0 stars 0 fork 0 watcher
Born at : May 25, 2025, 1:14 p.m. This repo has been linked 331 different CVEs too.

Toolkit for k8s administrators/developers.

Dockerfile Shell

Updated: 3 months, 1 week ago
1 stars 0 fork 0 watcher
Born at : July 10, 2022, 10:30 p.m. This repo has been linked 181 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-10977 vulnerability anywhere in the article.

  • Cybersecurity News
PostgreSQL Releases Security Update Addressing Multiple Vulnerabilities

The PostgreSQL Global Development Group has issued an important update addressing four security vulnerabilities across all supported versions of the popular open-source database system. This includes ... Read more

Published Date: Nov 18, 2024 (9 months, 1 week ago)

The following table lists the changes that have been made to the CVE-2024-10977 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Feb. 20, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
    Added CWE NIST CWE-345
    Added CPE Configuration OR *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 12.0 up to (excluding) 12.21 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 13.0 up to (excluding) 13.17 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 14.0 up to (excluding) 14.14 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 15.0 up to (excluding) 15.9 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 16.0 up to (excluding) 16.5 *cpe:2.3:a:postgresql:postgresql:17.0:-:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:17.0:beta1:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:17.0:beta2:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:17.0:beta3:*:*:*:*:*:* *cpe:2.3:a:postgresql:postgresql:17.0:rc1:*:*:*:*:*:*
    Changed Reference Type https://www.postgresql.org/support/security/CVE-2024-10977/ No Types Assigned https://www.postgresql.org/support/security/CVE-2024-10977/ Vendor Advisory
  • CVE Received by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

    Nov. 14, 2024

    Action Type Old Value New Value
    Added Description Client use of server error message in PostgreSQL allows a server not trusted under current SSL or GSS settings to furnish arbitrary non-NUL bytes to the libpq application. For example, a man-in-the-middle attacker could send a long error message that a human or screen-scraper user of psql mistakes for valid query results. This is probably not a concern for clients where the user interface unambiguously indicates the boundary between one error message and other text. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.
    Added Reference PostgreSQL https://www.postgresql.org/support/security/CVE-2024-10977/ [No types assigned]
    Added CWE PostgreSQL CWE-348
    Added CVSS V3.1 PostgreSQL AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 3.7
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact